projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d72cd0
)
docs: Tell pandoc we need Docbook4
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 3 Aug 2020 20:53:44 +0000
(16:53 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 3 Aug 2020 20:53:44 +0000
(16:53 -0400)
gtk-doc assumes Docbook4, with <ulink> and so on.
Without this, all the links in markdown are converted
to <link xlink:href=...> and then lost in the docbook->html
conversion.
docs/reference/gtk/gtk-markdown-to-docbook
patch
|
blob
|
history
diff --git
a/docs/reference/gtk/gtk-markdown-to-docbook
b/docs/reference/gtk/gtk-markdown-to-docbook
index a278b8b583ffba7118c6f70e270682d9ec2eae47..d25e6d52eade0203254bf975d24d2c5b998c858e 100755
(executable)
--- a/
docs/reference/gtk/gtk-markdown-to-docbook
+++ b/
docs/reference/gtk/gtk-markdown-to-docbook
@@
-180,7
+180,7
@@
def ConvertToDocbook(infile, outfile):
else:
division='chapter'
input_format = "markdown" + "".join(MarkdownExtensions)
- output_format = "docbook"
+ output_format = "docbook
4
"
subprocess.check_call(["pandoc", infile, "-o", outfile,
"--from=" + input_format,
"--to=" + output_format,